/**
 * admui-basic v2.1.0 (http://www.admui.com/)
 * Copyright 2015-2019 Admui Team
 * Licensed under the Admui License 1.1 (http://www.admui.com/about/license)
 */
(function(document, window, $) {
  'use strict';

  $(function() {
    // 单击编辑按钮
    window.edit = function() {
      $('.click2edit').summernote(
        $.concatCpt('summernote', {
          lang: 'zh-CN'
        })
      );
    };

    // 单击保存按钮
    window.save = function() {
      $('.click2edit').summernote('destroy');
    };
  });
})(document, window, jQuery);
